package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 商机状态阶段表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "business_status")
public class BusinessStatus implements Serializable {
    @TableId(value = "status_no", type = IdType.INPUT)
    private Integer statusNo;

    /**
     * 商机状态类别
     */
    @TableField(value = "type_id")
    private Integer typeId;

    /**
     * 标识 1验证客户 2需求分析 3方案/报价 4谈判审核 5赢单 输单
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 赢单率 20 30 50 80 100 0
     */
    @TableField(value = "rate")
    private String rate;

    private static final long serialVersionUID = 1L;
}